package io.renren.modules.nuaa.service;

import io.renren.common.service.CrudService;
import io.renren.modules.nuaa.dto.TQuestionDTO;
import io.renren.modules.nuaa.entity.TQuestionEntity;

/**
 * 问卷
 *
 * @author whc 15953295779@126.com
 * @since 3.0 2023-11-03
 */
public interface TQuestionService extends CrudService<TQuestionEntity, TQuestionDTO> {

    /**
     * 添加/编辑题目
     * */
    public void addOrUpdate(TQuestionDTO question );

    /**
     * 获取题目
     * @param categoryId
     * @return
     */
    TQuestionDTO getQuestion(Integer categoryId);
}